package com.qububu.play.common.service;


import java.util.List;
import java.util.Map;

import com.qububu.play.common.dto.ArticleDetailMsgDto;
import com.qububu.play.common.dto.ArticleInfoDto;


public interface PlayArticleService {

	public List<ArticleInfoDto> getArticleListByActionId(int type, String actionId, int pageNum);
	public List<ArticleInfoDto> getArticleList(int type, int pageNum);
	
	public long doAddArticle(ArticleInfoDto articleInfo, ArticleDetailMsgDto articleMsg);
	
	public void doDeleteArticle(String articleId);
	
	public List<ArticleDetailMsgDto> getArticleDetailsByMessageId(int articleId, int pageNum);
	
	public Map<String, Object> getFirstArticleAndSomeCommentByArticleId(int articleId);
	
	public long doAddArticleMessage(ArticleDetailMsgDto articleMessage);

	public List<ArticleDetailMsgDto> getArticleInfoReplyByMsgId(int msgId);
}